package org.binglan.youziyuepai.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description:
 * @author: sanjin
 * @date: 2019/4/9 20:35
 */
@Data
@ApiModel(value = "活动需要职业表单")
public class ActivityToOccupationForm {

    @ApiModelProperty(value = "所需职业id", dataType = "Integer")
    @NotNull(message = "occupationId 不能为空")
    private Integer occupationId;

    @ApiModelProperty(value = "所需人数", dataType = "Integer")
    @NotNull(message = "num 不能未空")
    private Integer num;
}
